home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 19
/
Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso
/
Aminet
/
util
/
misc
/
SplitIndex.readme
< prev
next >
Wrap
Text File
|
1997-05-03
|
3KB
|
105 lines
Short: Aminet INDEX Split and Filter Utility
Author: dhomas@youngmonkey.ca
Uploader: dhomas@youngmonkey.ca
Version: 97.Mar.17
Type: util/misc
*****************************************
SplitIndex.rexx (97.Mar.17)
Author: dhomas trenn
EMail: dhomas@youngmonkey.ca
WWW: www.youngmonkey.ca
*****************************************
INTRODUCTION
------------
As everyone knows, the Aminet INDEX is BIG, and becoming unmanagable as
a single file. Also, it contains many listings that some people are
not at all interested in.
Many people have tried to reduce the amount of time required to search
through this file by writing programs with numerous search options.
Most of these programs require many hours to pre-parse the INDEX file.
In my opinion, this is unacceptable.
I find it easier to just double click on the INDEX file in DirOpus and
do a quick search. But this requires a lot of memory to load the full
INDEX file. My solution, SplitIndex.rexx, a program that took me about
10 minutes to code.
SplitIndex.rexx is a small ARexx program that parses the INDEX file,
filtering out any unwanted information (configurable) and spliting the
file into separate files for each directory. It only takes a few
minutes to parse the entire file. It is fast enough to do on a regular
basis.
CONFIGURATION
-------------
The following variables can be defined within the ARexx program itself.
They are at the very top of the program and can be edited with any text
editor.
Index
-----
Defines the location of the INDEX file. If this file can not be
found the program will error and abort. Upon completion of the
program this index file will be deleted.
Example: Index = "TEMP:INDEX"
IndexesPath
-----------
Defines the path to store the split index files. This must be the
full path. This path must exist already. The program will not
create it. If the directory can not be found the program will
error and abort.
Example: IndexesPath = "Storage:PD/.indexes/"
IndexesPath = "Storage:"
IgnoreDir
---------
Defines any directories that should be filtered out. All sub
directories will also be ignored. Multiple entries MUST be
separated with a single space.
Example: IgnoreDir = "demo mods"
IgnoreDir = "demo"
IgnoreDir = "" < to disable Dir filtering
IgnoreSub
---------
Defines any sub directories that should be filtered out.
Example: IgnoreSub = "biz/cloan comm/ambos"
IgnoreSub = "biz/cloan"
IgnoreSub = "" < to disable Sub filtering
STARTING
--------
From the Shell:
rx SplitIndex
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
2704 1142 57.7% 17-Mar-97 13:08:08 SplitIndex.readme
1337 644 51.8% 17-Mar-97 13:02:54 SplitIndex.rexx
-------- ------- ----- --------- --------
4041 1786 55.8% 18-Mar-97 15:40:54 2 files